.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90rem;
    font-size: 1.6rem;

    .change {
        align-self: flex-end;
        color: var(--theme-minor-color);
        font-size: 1.4rem;

        .link {
            color: var(--theme-main-color);
            cursor: pointer;
        }
    }

    .title {
        font-weight: bold;
        font-size: 3.5rem;
        margin-top: 6rem;
        margin-bottom: 2rem;
        color: var(--theme-main-color);
    }

    .description {
        color: var(--theme-minor-color);
    }

    form {
        margin-top: 6rem;

        div.item:not(.no-border) {
            width: 60rem;
            border: 1px solid #565656;
            height: 7rem;
            display: flex;
            flex-direction: column;
            padding: 1rem;
            padding-left: 2rem;
            padding-bottom: 0.5rem;
            border-radius: 1.5rem;

            transition: all 0.3s linear;
            transition: border 0.2s linear;

            .title {
                font-size: 1.6rem;
                font-weight: normal;
                margin: 0;
                color: var(--theme-minor-color);
            }

            input {
                outline: 0;
                border: 0;
                height: 5rem;
                font-size: 1.8rem;
            }
        }

        div.item.gender {
            margin: 2rem 0;

            .select {
                margin-left: 2rem;
                display: inline-block;
                background-color: #ededed;
                width: 3rem;
                height: 3rem;
                line-height: 3rem;
                text-align: center;
                font-size: 1.4rem;
                border-radius: 1.5rem;
                color: var(--theme-minor-color);
                cursor: pointer;
            }

            .selected {
                background-color: var(--theme-bg-color);
                color: var(--theme-highlight-color);
            }
        }

        div.item .title:has(+input[required])::after {
            color: rgb(202, 65, 65);
            content: "*";
            font-size: 1.8rem;
        }

        .tips {
            margin-top: -1rem;
            margin-bottom: 1rem;
            margin-left: 1rem;
            font-size: 1.4rem;
            color: var(--theme-minor-color);
        }

        div.item:focus-within {
            border: 1px solid var(--theme-main-color);
        }

        div.item:not(.no-border).error {
            border: 1px solid var(--theme-error-color);

            .title {
                color: var(--theme-error-color);
            }
        }

        div.no-border.gender.error {
            color: var(--theme-error-color);
        }

        div.item.error+.error-message {
            font-size: 1.4rem;
            margin-top: -1rem;
            margin-bottom: 1.5rem;
            margin-left: 1rem;
            color: var(--theme-error-color);
        }

        div.item:not(:last-child) {
            margin-bottom: 2rem;
        }

        button {
            margin: 4rem auto;
            display: block;
            background-color: var(--theme-bg-color);
            border: 0;
            width: 20rem;
            height: 5rem;
            color: var(--theme-highlight-color);
            font-size: 1.5rem;
            border-radius: 2.5rem;
            cursor: pointer;
        }
    }

    .footer {

        .link {
            color: var(--theme-main-color);
            cursor: pointer;
        }

        .svg {
            width: 1.8rem;
            height: 1.8rem;
            cursor: pointer;
        }
    }
}